import { UsersV2 } from '@/components/interfaces/Auth/Users/UsersV2'
import AuthLayout from '@/components/layouts/AuthLayout/AuthLayout'
import DefaultLayout from '@/components/layouts/DefaultLayout'
import type { NextPageWithLayout } from '@/types'

const UsersPage: NextPageWithLayout = () => {
  return <UsersV2 />
}

UsersPage.getLayout = (page) => (
  <DefaultLayout>
    <AuthLayout title="users">{page}</AuthLayout>
  </DefaultLayout>
)

export default UsersPage
